<template>
    <div class="video">
      <video ref="menuTree" controls autoplay muted></video>
    </div>
</template>

<script lang="ts" setup>
</script>

<style scoped lang="less">
.video {
    position: relative;
    height: 100%;
  }
  video {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  .error {
    position: absolute;
    top: 30%;
    left: 50%;
    margin-left: -120px;
    text-align: center;
    color: #00fdff;
    font-weight: bold;
    font-size: 1.2em;
  }
</style>